@echo off
set cfg_path=configs\cascade_rcnn\cascade_rcnn_res2net_r50_fpn_1x_coco.yml
set weight_path=output\cascade_rcnn_res2net_r50_fpn_1x_coco\model_final.pdparams

echo cfg path is : %cfg_path%
echo weight path is : %weight_path%

echo start TTA eval... 
for %%i in (0,1,2,3) do (
    echo TTA id: %%i & python tools/change_yml.py --sizeid %%i & python tools/eval.py -c %cfg_path% -o weights=%weight_path% & ren bbox.json bbox_%%i.json
)

pause